import { ArticleController } from "../controller/ArticleController";

export const articleRoutes = [
  {
    method: "get",
    route: "/queryArticle",
    controller: ArticleController,
    action: "queryArticle",
  },
  {
    method: "post",
    route: "/saveArticle",
    controller: ArticleController,
    action: "saveArticle",
  },
  {
    method: "post",
    route: "/removeArticle",
    controller: ArticleController,
    action: "removeArticle",
  },
  {
    method: "post",
    route: "/updateArticle",
    controller: ArticleController,
    action: "updateArticle",
  },
  {
    method: "get",
    route: "/classificationArticle",
    controller: ArticleController,
    action: "classificationArticle",
  },
];
